package com.note.domain;

import com.note.common.annotation.Excel;
import com.note.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 【请填写功能名称】对象 sys_user_noted
 * 
 * @author ruoyi
 * @date 2021-01-07
 */
@Data
public class SysUserNoted extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long userId;

    /** 只当笔记id是属于本用户的时候，才可以执行更新操作 */
    @Excel(name = "只当笔记id是属于本用户的时候，才可以执行更新操作")
    private Long noteId;



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("noteId", getNoteId())
            .toString();
    }
}
